package com.houxm.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class Vote implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private int id;
	private String title;
	private String content;
	private User user = new User();
	private Catalog catalog = new Catalog();
	private Vote parent;
	private String valid;
	private String status;
	private Date borntime;
	private String begintime;
	private String keeptime;
	private int point;
	private String comment;
	private String repeat;
	private String isradio;
	private String checkIP;
	
	private int itemCount;
	private int voteCount;
	private int openCount;
	private int completedCount;
	private int closedCount;
	private Set<Item> items = new HashSet<Item>();
	
	public int getItemCount() {
		return itemCount;
	}
	public void setItemCount(int itemCount) {
		this.itemCount = itemCount;
	}
	public int getVoteCount() {
		return voteCount;
	}
	public void setVoteCount(int voteCount) {
		this.voteCount = voteCount;
	}
	public int getOpenCount() {
		return openCount;
	}
	public void setOpenCount(int openCount) {
		this.openCount = openCount;
	}
	public int getCompletedCount() {
		return completedCount;
	}
	public void setCompletedCount(int completedCount) {
		this.completedCount = completedCount;
	}
	public int getClosedCount() {
		return closedCount;
	}
	public void setClosedCount(int closedCount) {
		this.closedCount = closedCount;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Catalog getCatalog() {
		return catalog;
	}
	public void setCatalog(Catalog catalog) {
		this.catalog = catalog;
	}
	public Vote getParent() {
		return parent;
	}
	public void setParent(Vote parent) {
		this.parent = parent;
	}
	public String getValid() {
		return valid;
	}
	public void setValid(String valid) {
		this.valid = valid;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Date getBorntime() {
		return borntime;
	}
	public void setBorntime(Date borntime) {
		this.borntime = borntime;
	}
	public String getBegintime() {
		return begintime;
	}
	public void setBegintime(String begintime) {
		this.begintime = begintime;
	}
	public String getKeeptime() {
		return keeptime;
	}
	public void setKeeptime(String keeptime) {
		this.keeptime = keeptime;
	}
	public int getPoint() {
		return point;
	}
	public void setPoint(int point) {
		this.point = point;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public String getRepeat() {
		return repeat;
	}
	public void setRepeat(String repeat) {
		this.repeat = repeat;
	}
	public String getIsradio() {
		return isradio;
	}
	public void setIsradio(String isradio) {
		this.isradio = isradio;
	}
	public String getCheckIP() {
		return checkIP;
	}
	public void setCheckIP(String checkIP) {
		this.checkIP = checkIP;
	}
	public static long getSerialVersionUID() {
		return serialVersionUID;
	}
	public Set<Item> getItems() {
		return items;
	}
	public void setItems(Set<Item> items) {
		this.items = items;
	}

}
